<template id="XieXue">
  <section class="xiexue-section">
    <div>
      <div class="XieXue-nav">
      <div>
        <ul>
          <li v-for="(v,i) in list01">
            <router-link to="/">
              <div class="XieXue-nav-wrapimg">
                <img :src="v.src" alt />
              </div>
              <p>{{v.con}}</p>
            </router-link>
          </li>
        </ul>
      </div>
    </div>
    <div class="bottom01"></div>
    <div class="jinribipin">
      <div class="jinribipin-nav">
        <div class="wrap">
          <div class="left">
            <img src="../../../data/assets/images/jinribipin.png" alt />
          </div>
          <div class="right">
            <router-link to="/">
              <p>更多</p>
              <span></span>
            </router-link>
          </div>
        </div>
      </div>
      <div class="wrap-ul">
        <ul>
          <li v-for="(v,i) in list02">
            <img :src="v.src" alt />
            <div class="red-money">
              <div class="one">{{v.one}}</div>
              <div class="two">{{v.two}}</div>
              <div class="thress">{{v.thress}}</div>
            </div>
            <p>{{v.p}}</p>
          </li>
        </ul>
      </div>
    </div>
    </div>
  </section>
</template>
<script >
export default {
  data() {
    return {
      list01: [],
      list02: []
    };
  },
  mounted() {
    this.$http
      .get("./data/xiexue.json")
      .catch(function(error) {
        console.log(error);
      })
      .then(res => {
        (this.list01 = res.data.list01),
        (this.list02 = res.data.list02)

      });
  },
  methods: {
    handleChange(index) {
      //  this.index=index
    }
  }
};
</script>

<style scoped>
.XieXue-nav {
  padding: 0 10px;
  padding-top: 10px;
}
.XieXue-nav ul {
  display: flex;
  flex-wrap: wrap;
}
.XieXue-nav li {
  width: 20%;
  text-align: center;
  margin-bottom: 0.5rem;
}
.XieXue-nav a {
  color: #666;
  text-decoration: none;
  font-size: 0.8rem;
}
.XieXue-nav img {
  width: 100%;
}
.XieXue-nav-wrapimg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  margin-bottom: 0.25rem;
}
.bottom01 {
  height: 0.975rem;
  background: url(../../../data/assets/images/bottom01.png) no-repeat;
  background-size: 100% auto;
}
.red-money {
  display: flex;
  color: red;
  font-weight: 700;
  text-align: center;
  justify-content: center;
  margin-bottom: 3px;
}
.red-money .one {
  font-size: 0.8rem;
}
.red-money .two {
  font-size: 1rem;
  margin-top: -0.2rem;
}
.red-money .thress {
  font-size: 0.8rem;
}
.jinribipin {
  margin: 0 10px;
}
.jinribipin .wrap-ul {
  overflow-y: auto;
}
.jinribipin ul {
  display: flex;
  width: 60rem;
  margin-bottom: 8px;
}
.jinribipin li {
  width: 6rem;
  margin: 0 5px;
}
.jinribipin img {
  width: 100%;
  border-radius: 0.25rem;
}
.jinribipin p {
  color: #aaa;
  font-size: 0.7rem;
  text-align: center;
}
.jinribipin-nav .wrap {
  display: flex;
  justify-content: space-between;
}
.jinribipin-nav {
  margin: 8px 0;
}
.jinribipin-nav .left {
  width: 4rem;
  margin-top: 5px;
}
.jinribipin-nav img {
  width: 100%;
}
.jinribipin-nav .center {
  width: 100%;
  margin-top: -30px;
}
.jinribipin-nav .right p {
  display: inline-block;
}
.jinribipin-nav .right span {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-top: 0.1rem solid #ccc;
  border-left: 0.1rem solid #ccc;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  top: -0.06rem;
  left: -0.05rem;
  position: relative;
  margin-left: 0.25rem;
}
.jinribipin-nav .right a {
  text-decoration: none;
}
</style>